package cn.icanci.loopstack.bic.biz.service;

import java.util.List;

import cn.icanci.loopstack.bic.common.model.TextValue;
import cn.icanci.loopstack.bic.common.model.base.UseCaseVO;
import cn.icanci.loopstack.bic.dal.mongo.common.PageList;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/10 20:09
 */
public interface UseCaseService extends BaseService<UseCaseVO> {
    @Override
    List<UseCaseVO> queryAll();

    @Override
    void save(UseCaseVO useCaseVO);

    @Override
    UseCaseVO queryById(String id);

    @Override
    PageList<UseCaseVO> queryPage(UseCaseVO useCaseVO, int pageNum, int pageSize);

    UseCaseVO queryBySystemUuidAndName(String systemUuid, String name);

    UseCaseVO queryBySystemUuidAndKey(String systemUuid, String key);

    List<TextValue> loadSelector(String systemUuid);

    List<TextValue> loadAllSelector();

    UseCaseVO queryBySystemAndUseCase(String systemUuid, String useCaseUuid);
}
